function two_points_distance(start_point, end_point) {
  // 经纬度转换为世界坐标
  var start_position = Cesium.Cartesian3.fromDegrees(
    start_point.lon,
    start_point.lat,
    start_point.height
  );
  var end_position = Cesium.Cartesian3.fromDegrees(
    end_point.lon,
    end_point.lat,
    end_point.height
  );
  // 返回两个坐标的距离（单位：米）
  return Cesium.Cartesian3.distance(start_position, end_position);
}
export { two_points_distance };
